package com.istock.servicesample.config;

import javax.annotation.PreDestroy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component
public class TestDestoryService {

	private Logger logger = LoggerFactory.getLogger(getClass());
	@PreDestroy
	public void destory() {
		logger.info("==================read to destory server=================");
	}
}
